package com.settlement.system.model.entity.common;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.HeadFontStyle;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import com.alibaba.excel.annotation.write.style.HeadStyle;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 爱库存-违规明细
 * @author Ximi
 * @since 2020-07-14
 */
@Data
@ExcelIgnoreUnannotated
@HeadStyle(fillBackgroundColor = 9,fillForegroundColor = 9)
@HeadRowHeight(value = 20)
@HeadFontStyle(fontHeightInPoints = 14)
public class TblAkcViolateDetail extends BaseModel implements Serializable {


    /**
     * 序号
     */
    @ExcelProperty(value = "序号")
    @ApiModelProperty(value = "序号",required = true)
    @NotNull(message = "序号不能为空")
    private Integer serialNumber;

    /**
     * 活动ID
     */
    @ExcelProperty(value = "活动ID")
    @ApiModelProperty(value = "活动ID",required = true)
    @NotNull(message = "活动ID不能为空")
    private String actionId;

    /**
     * 店铺编码
     */
    @ExcelProperty(value = "店铺编码")
    @ApiModelProperty(value = "店铺编码",required = true)
    @NotNull(message = "店铺编码不能为空")
    private String shopNo;

    /**
     * 店铺名称
     */
    @ExcelProperty(value = "店铺名称")
    @ApiModelProperty(value = "店铺名称")
    private String shopName;

    /**
     * 日期
     */
    @ExcelProperty(value = "提现日期")
    @ApiModelProperty(value = "提现日期")
    @JsonFormat(pattern="yyyy/MM/dd HH:mm:ss",timezone = "GMT+8")
    private Date outDate;

    /**
     * 案件编号
     */
    @ExcelProperty(value = "案件编号")
    @ApiModelProperty(value = "案件编号")
    private String caseNo;

    /**
     * 罚单编号
     */
    @ExcelProperty(value = "罚单编号")
    @ApiModelProperty(value = "罚单编号")
    private String punishNo;

    /**
     * 活动编号
     */
    @ExcelProperty(value = "活动编号")
    @ApiModelProperty(value = "活动编号")
    private String actionNo;

    /**
     * 活动名称
     */
    @ExcelProperty(value = "活动名称")
    @ApiModelProperty(value = "活动名称")
    @NotNull(message = "活动ID不能为空")
    private String actionName;

    /**
     * 二级订单号
     */
    @ExcelProperty(value = "二级订单号")
    @ApiModelProperty(value = "二级订单号")
    private String orderNo;

    /**
     * 商品名称
     */
    @ExcelProperty(value = "商品名称")
    @ApiModelProperty(value = "商品名称")
    private String itemName;

    /**
     * 供货价
     */
    @ExcelProperty(value = "供货价")
    @ApiModelProperty(value = "供货价")
    private BigDecimal provideItemPrice;

    /**
     * 售后服务单/AD单号
     */
    @ExcelProperty(value = "售后服务单/AD单号")
    @ApiModelProperty(value = "售后服务单/AD单号",required = true)
    @NotNull(message = "售后服务单/AD单号不能为空")
    private String afterSaleNo;

    /**
     * 应罚金额
     */
    @ExcelProperty(value = "应罚金额")
    @ApiModelProperty(value = "应罚金额",required = true)
    @NotNull(message = "应罚金额不能为空")
    private BigDecimal punishPrice;

    /**
     * 应罚金额
     */
    @ExcelProperty(value = "实罚金额")
    @ApiModelProperty(value = "实罚金额",required = true)
    @NotNull(message = "实罚金额不能为空")
    private BigDecimal actualPunishPrice;

    /**
     * 违规小类
     */
    @ExcelProperty(value = "违规小类")
    @ApiModelProperty(value = "违规小类")
    private String violateCategory;

    /**
     * 对账编号
     */
    @ExcelProperty(value = "对账编号")
    @ApiModelProperty(value = "对账编号")
    private String checkAccountNo;

    /**
     * 机器人确认时间
     */
    @ExcelProperty(value = "机器人确认时间")
    @ApiModelProperty(value = "回款单价(单位:元)",hidden = true)
    private Date robotComfirmDate;

}
